﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace aliformerp
{
    public partial class webb : Form
    {
        public static string toopenuriis;
        public searchform srf1;
        public webb(searchform srf)
        {
            this.srf1 = srf;
            InitializeComponent();
            if (toopenuriis!=null)
            {
                webBrowser1.Url = new Uri(toopenuriis);
                textBox1.Text = toopenuriis;
            }
           
        }

        private void button1_Click(object sender, EventArgs e)
        {


            webBrowser1.Url = new Uri(textBox1.Text);
          
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
           
            this.Hide();
            srf1.Show();
        }
    }
}
